<template>
  <ul>
    <!--接收Message组件传递过来的路由数据  query: $route.query.id  params:$route.params.id-->
    <li>message number: {{ id }}</li>
    <li>message tile: {{ title }}</li>
  </ul>
</template>

<script>
export default {
  name: "Detail",
  props: ['id', 'title']
}
</script>

<style scoped>

</style>